package com.dstz.bpm.api.model.nodedef.impl;

import com.dstz.bpm.api.constant.NodeType;
import com.dstz.bpm.api.model.def.BpmProcessDef;

public class SubProcessNodeDef extends BaseBpmNodeDef {
   private static final long serialVersionUID = -1165886168391484970L;
   private BpmProcessDef bpmChildProcessDef;

   public SubProcessNodeDef() {
      this.setType(NodeType.SUBPROCESS);
   }

   public BpmProcessDef getChildBpmProcessDef() {
      return this.bpmChildProcessDef;
   }

   public void setChildBpmProcessDef(BpmProcessDef bpmChildProcessDef) {
      this.bpmChildProcessDef = bpmChildProcessDef;
   }
}
